<template>
	<view class="container">
		<customHead
			:title="title"
			isShowBackArrow
			:titlePaddingLeft="30"
			:placeholder="true"
		>
		</customHead>
		<view class="parse_box"style="">
			<uv-parse :content="info.content"></uv-parse>
		</view>
	</view>
</template>

<script>
	// import { searchPlugsNoticeById } from '@/tools/request/api.js'
	export default {
		data() {
			return {
				title: '',
				info: {}
			};
		},
		onLoad (options) {
			console.log(options, 'option')
			this.info = JSON.parse(decodeURIComponent(options.info));
			this.title = this.info.extJson;
		},
		// methods: {
		// 	getNoticeDetail () {
		// 		let data = {
		// 			page: 1,
		// 			size: 100,
		// 			businessId: this.businessId,
		// 			userServiceToken: this.userServiceToken
		// 		}
		// 		this.loading_show = true;
		// 		searchPlugsNoticeList(data).then((res) => {
		// 			this.loading_show = false;
		// 			if (res.code != 200) return uni.$showMsg();
		// 			let list = res.body.list;
		// 			this.list[0] = list.filter(item => item.type == 'caozuo_shuoming');
		// 		})
		// 	},
		// }
	}
</script>

<style lang="scss" scoped>
	.container{
		width: 100vw;
		
		.parse_box{
			width: 100%;
			padding: 0 20rpx;
			box-sizing: border-box;
			font-size: 26rpx;
			color: #333;
		}
	}
</style>
